package org.n.shop.controller;

import lombok.AllArgsConstructor;
import org.n.shop.result.RestResult;
import org.n.shop.service.OrderLogisticsDetailsService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/order/logistics/details")
@AllArgsConstructor
public class OrderLogisticsDetailsController {
    private OrderLogisticsDetailsService orderLogisticsDetailsService;

    @RequestMapping("/id")
    public RestResult id(@RequestParam("id") int id) {
        return orderLogisticsDetailsService.id(id);
    }

}
